import json
data = {"YES":1,"NO":0,"Name":"hu","Num":100}
json_str=json.dumps(data)
print ("Python 原始数据：", repr(data))
print ("JSON 对象：", json_str)

data2=json.loads(json_str)
print ("JSON 对象：", json_str)
print ("Python 原始数据：", repr(data2))


